import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    username:"超级管理员",
    avatar:"https://q1.itc.cn/q_70/images03/20250129/4d820c22829549d9a2008243b262458f.jpeg",
    token:"2hb2b234bbx",
    role:"系统用户"
  },
  getters: {
  },
  mutations: {
    updateUsername(state,v){
      state.username=v

    }
  },
  actions: {
  },
  modules: {
  }
})
